export type TeamKey = 'red'|'orange'|'yellow'|'green'|'cyan'|'blue'|'purple'
export type RewardKey = 'flower'|'star'|'earth'

export const TEAM_META, {name, color:number}> = {
  red:    { name: '红队', color: 0xFF3333 },  // 鲜艳红色
  orange: { name: '橙队', color: 0xFF8800 },  // 鲜艳橙色
  yellow: { name: '黄队', color: 0xFFDD00 },  // 鲜艳黄色
  green:  { name: '绿队', color: 0x00CC66 },  // 鲜艳绿色
  cyan:   { name: '青队', color: 0x00CCFF },  // 鲜艳青色
  blue:   { name: '蓝队', color: 0x3366FF },  // 鲜艳蓝色
  purple: { name: '紫队', color: 0x9933FF }   // 鲜艳紫色
}

export >
}

export function createInitialScores(): GroupScores {
  const rewards= {}
  Object.keys(TEAM_META).forEach((k) => rewards[k] = { flower: 0, star: 0, earth: 0 })
  return { rewards }
}

